package com.feilong.cn.mybatis.autoV2.statement;

/**
 * Created by yangxulong on 2018/4/2.
 */
public class MappedStatement {
    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    //主键为: Mapper类全限定名+方法名
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    private String sql;
    //存储nameSpace+methdNa
    private String id;

    public Class<?> getReturnType() {
        return returnType;
    }

    public void setReturnType(Class<?> returnType) {
        this.returnType = returnType;
    }

    private Class<?> returnType;

    public MappedStatement(String id, String sql, Class<?> type) {
        this.sql = sql;
        this.id = id;
        this.returnType = type;
    }


}
